<div style="margin: 15px 0px 0px 15px">
	<h3>Thêm mới hỗ trợ</h3><hr />
	<div style="margin-top: 30px;  margin-left: 60px;">
	<div style="background: yellow;">
		<?php echo validation_errors();?>	
	</div>
		<?php $attrs = array('class'=>'frm_add_support', 'id'=>'frm_add_support')?>
		<?php echo form_open_multipart(base_url().'index.php/support/edit/'.$support['id'], $attrs)?>
		<table cellpadding="10" >
			<tr>
				<?php $types = array('Yahoo'=>'Yahoo', 'Skype'=>'Skype', 'SĐT'=>'SĐT', 'Email'=>'Email');?>
				<td width="150"><?php echo form_label('Loại hỗ trợ')?></td>
				<td>
					<select name="type" id="type" style = "width:250px">
                    <?php foreach($types as $item){?>
                    <option value="<?php echo $item ?>" <?php if($item == $support['type']){?> SELECTED <?php }?>><?php echo $item?></option>
                    <?php } ?>
                </select>
				</td>
				
			</tr>
			<tr>
				<td><?php echo form_label('Nội dung')?></td>
				<td>
					<?php echo form_textarea(array('name'=>'content','id' => 'content','value'=>$support['content']))?>
				</td>
			</tr>
			<tr>
				<td></td>
				<td>
					<?php echo form_submit(array('name'=>'submit','value'=>'Lưu'))?>
				</td>
			</tr>
		</table>
	</form>
	</div>
</div>